package com.java.gulimall.ware.feign;

import com.java.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


/**
 * @author jl
 * Created on 2020/9/20
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {

    @GetMapping("/order/order/getOrderStatus/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
